package sixPrinciples.ocp.section1;
public class NovelBook implements IBook {
	
	private String name;
	
	private int price;
	
	private String author;

	public NovelBook(String name, int price, String author) {
		this.name = name;
		this.price = price;
		this.author = author;
	}
	@Override
	public String getname() {
		return this.name;
	}

	@Override
	public int getPrice() {
		return this.price;
	}

	@Override
	public String getAuthor() {
		return this.author;
	}

}
